package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.LoginDto;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;

public interface UserService {
    PageResponse<UserVo> getByPage1(UserDto userDto, Integer pageNum, Integer pageSize);

    void add(UserDto userDto);

    UserVo update(UserDto userDto);

    void updateStatus(Long id, String status);

    void delete(Long userId);

    void resetPw(Long userId);

    UserVo userList(UserDto userDto);

    PageResponse<UserVo> getByPage(UserDto userDto, Integer pageNum, Integer pageSize);

    UserVo login(LoginDto loginDto);
}
